package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterFansDao;
import com.vf.admin.miaodong.entity.AppFans;
import com.vf.admin.miaodong.service.AfterFansService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 粉丝团粉丝
 */
@Service
public class AfterFansServiceImpl implements AfterFansService {

    @Autowired
    AfterFansDao afterFansDao;

    /**
     * 查询列表
     */
    @Override
    public List<AppFans> list(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return afterFansDao.list(paraMap, splitPage);
    }

    /**
     * 详情
     */
    @Override
    public AppFans get(Integer id) {
        return afterFansDao.get(id);
    }

    /**
     * 添加/修改
     */
    @Override
    public void save(AppFans haoYou) {
        afterFansDao.save(haoYou);
    }

    /**
     * 删除
     */
    @Override
    public void del(Integer id) {
        afterFansDao.del(id);
    }

}
